/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.univcasa.biz;

import com.univcasa.biz.impl.exception.CompteNotFoundException;
import com.univcasa.biz.impl.exception.EtudiantNotFoundException;
import com.univcasa.db.model.CompteEtudiant;
import com.univcasa.db.model.ComptePersonnel;
import com.univcasa.db.model.Criteres;

/**
 *
 * @author issam
 */
public interface AccountDistributer {

    CompteEtudiant getAccountStdByCriteria(Criteres criteres) throws EtudiantNotFoundException;
    ComptePersonnel getAccountPersByCriteria(Criteres criteres) throws CompteNotFoundException;
    public boolean reInitPass(CompteEtudiant std);
    public boolean reInitPass(ComptePersonnel std);

}
